import { OverlayModule } from '@angular/cdk/overlay';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { ApesIconModule } from '@shared/apes/icon';


import { ApesI18nModule } from '../i18n/apes-i18n.module';
import { ApesButtonModule } from '../button';
import { CssUnitPipe } from './css-unit.pipe';
import { ApesModalControlService } from './apes-modal-control.service';
import { ApesModalComponent } from './apes-modal.component';
import { ApesModalService } from './apes-modal.service';
import {ApesAddOnModule, ApesNoAnimationModule} from "@shared/apes/core";
import {ApesModalFooterDirective} from "./apes-modal-footer.directive";
import {ApesModalServiceModule} from "./apes-modal.service.module";
import {ApesModalControlServiceModule} from "./apes-modal-control.service.module";


@NgModule({
  imports: [
    CommonModule,
    OverlayModule,
    ApesAddOnModule,
    ApesI18nModule,
    ApesButtonModule,
    ApesIconModule,
    ApesNoAnimationModule,
    ApesModalServiceModule,
    ApesModalControlServiceModule
  ],
  exports: [ ApesModalComponent, ApesModalFooterDirective ],
  declarations: [ ApesModalComponent, CssUnitPipe, ApesModalFooterDirective ],
  entryComponents: [ ApesModalComponent ],
  providers: [ ApesModalControlService, ApesModalService ]
})
export class ApesModalModule { }
